<%-- 
    Document   : accueil
    Created on : 16 mars 2012, 09:49:02
    Author     : dewinter
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="css/style.css" />
        <title>YouFood</title>
    </head>
    <body>
        <div id="container">
        <div id="header">
            <%@include file="template/header.jsp" %>
            </div>
            <div id="center-layout">
                <div id="content">
                    <c:forEach items="${desserts}" var="desserts">
                        <div class="nomProduit-center">
                            <form method="GET" action="AddCommande">
                                <input type="hidden" value="${desserts.id_produit}" name="id_produit" />
                                <input type="hidden" value="produit" name="type" />
                                <input type="hidden" value="client" name="who"/>
                                <input type="submit" class="btn-produit" value="" style="background:url('/YouFood/img/produits/${desserts.id_produit}.jpg') top right no-repeat;"/>
                            </form>
                            <div class="nom-produit"><c:out value="${desserts.libelle}" /></div>
                            <div class="prix-produit"><c:out value="${desserts.prixHT} €" /></div>
                        </div>
                    </c:forEach>
                </div>
            </div>
            <div id="right-layout">
                <%@include file="template/right-layout.jsp" %>
            </div>
            <div id="left-layout">
                <%@include file="template/left-layout.jsp" %>
            </div>
        </div>
    </body>
</html>